
import request from '@/utils/request'

// 查询月度报表列表
export function listReport(query) {
  return request({
    url: '/report/report/list',
    method: 'get',
    params: query
  })
}

// 查询月度报表详细
export function getReport(mrid) {
  return request({
    url: '/report/report/' + mrid,
    method: 'get'
  })
}

// 新增月度报表
export function addReport(data) {
  return request({
    url: '/report/report',
    method: 'post',
    data: data
  })
}

// 修改月度报表
export function updateReport(data) {
  return request({
    url: '/report/report',
    method: 'put',
    data: data
  })
}

//统计图
export function getMonthlyReport() {
  return request({
    url:'/report/report/getMonthlyReport',
    method:'get'
  })
}
